﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Sistema.WF.Componentes.Controles
{
    public class R2ComboBox : ComboBox
    {
        public R2Configuracoes _conf = new R2Configuracoes();
        public R2ComboBox()
        {
            //DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            BackColor = System.Drawing.Color.White;
            Font = _conf.Fonte;
        }

        protected override void OnGotFocus(EventArgs e)
        {
            base.OnGotFocus(e);
            if (DroppedDown == false)
            {
            //    base.DroppedDown = true;
            }
        }
    }
}
